<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input placeholder="{:__('Please enter')}{:__('Name')}" id="c-name" data-rule="required"
                   class="form-control"
                   name="row[service_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ledger_expenses')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input placeholder="{:__('Please enter')}{:__('Ledger_expenses')}" id="c-ledger_expenses"
                   data-rule="required"
                   class="form-control"
                   name="row[ledger_expenses]" type="text">
        </div>
    </div>
    <div class="card">
        <span style="font-weight: bold;font-size: 16px">{:__('Individual businesses')}</span>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Accounting commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[gth_commission_account_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}

                <input placeholder="{:__('Please enter')}{:__('Accounting commission')}" id="c-gth_commission_account"
                       data-rule="required"
                       class="form-control"
                       name="row[gth_commission_account]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Outworker commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[gth_commission_outworker_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Outworker commission')}" id="c-gth_commission_outworker"
                       data-rule="required"
                       class="form-control"
                       name="row[gth_commission_outworker]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Sales commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[gth_commission_sales_type]', ['0'=>__('(成交价格-成本价格)*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Sales commission')}" id="c-gth_commission_sales"
                       data-rule="required"
                       class="form-control"
                       name="row[gth_commission_sales]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cost price')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[gth_cost_type]', ['0'=>__('收款金额*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Select cost expenses')],0)}
                <div id="gth_cost_value">
                    <input placeholder="{:__('Please enter')}" id="c-gth_cost_value"
                           data-rule="required"
                           class="form-control"
                           name="row[gth_cost_value]" type="text">
                </div>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Standard price')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input placeholder="{:__('Please enter')}{:__('Standard price')}" id="c-gth_standard_price"
                       data-rule="required" class="form-control"
                       name="row[gth_standard_price]" type="text">
            </div>
        </div>
    </div>
    <div class="card">
        <span style="font-weight: bold;font-size: 16px">{:__('Small-scale Taxpayer')}</span>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Accounting commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[xgmnsr_commission_account_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}

                <input placeholder="{:__('Please enter')}{:__('Accounting commission')}"
                       id="c-xgmnsr_commission_account"
                       data-rule="required"
                       class="form-control"
                       name="row[xgmnsr_commission_account]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Outworker commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[xgmnsr_commission_outworker_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Outworker commission')}"
                       id="c-xgmnsr_commission_outworker"
                       data-rule="required"
                       class="form-control"
                       name="row[xgmnsr_commission_outworker]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Sales commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[xgmnsr_commission_sales_type]', ['0'=>__('(成交价格-成本价格)*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Sales commission')}" id="c-xgmnsr_commission_sales"
                       data-rule="required"
                       class="form-control"
                       name="row[xgmnsr_commission_sales]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cost price')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[xgmnsr_cost_type]', ['0'=>__('收款金额*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Select cost expenses')],0)}
                <div id="xgmnsr_cost_value">
                    <input placeholder="{:__('Please enter')}" id="c-xgmnsr_cost_value"
                           data-rule="required"
                           class="form-control"
                           name="row[xgmnsr_cost_value]" type="text">

                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Standard price')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input placeholder="{:__('Please enter')}{:__('Standard price')}" id="c-xgmnsr_standard_price"
                       data-rule="required" class="form-control"
                       name="row[xgmnsr_standard_price]" type="text">
            </div>
        </div>
    </div>
    <div class="card">
        <span style="font-weight: bold;font-size: 16px">{:__('General taxpayer')}</span>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Accounting commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[ybnsr_commission_account_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}

                <input placeholder="{:__('Please enter')}{:__('Accounting commission')}" id="c-ybnsr_commission_account"
                       data-rule="required"
                       class="form-control"
                       name="row[ybnsr_commission_account]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Outworker commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[ybnsr_commission_outworker_type]', ['0'=>__('Payment amount ratio'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Outworker commission')}"
                       id="c-ybnsr_commission_outworker"
                       data-rule="required"
                       class="form-control"
                       name="row[ybnsr_commission_outworker]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Sales commission')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[ybnsr_commission_sales_type]', ['0'=>__('(成交价格-成本价格)*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Monthly commission')],0)}
                <input placeholder="{:__('Please enter')}{:__('Sales commission')}" id="c-ybnsr_commission_sales"
                       data-rule="required"
                       class="form-control"
                       name="row[ybnsr_commission_sales]" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cost price')}:</label>
            <div class="col-xs-12 col-sm-8">
                {:build_radios('row[ybnsr_cost_type]', ['0'=>__('收款金额*()%'),
                '1'=>__('Fixed amount'),'2'=>__('Select cost expenses')],0)}
                <div id="ybnsr_cost_value">
                    <input placeholder="{:__('Please enter')}" id="c-ybnsr_cost_value"
                           data-rule="required"
                           class="form-control"
                           name="row[ybnsr_cost_value]" type="text">
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Standard price')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input placeholder="{:__('Please enter')}{:__('Standard price')}" id="c-ybnsr_standard_price"
                       data-rule="required" class="form-control"
                       name="row[ybnsr_standard_price]" type="text">
            </div>
        </div>



    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">备注说明:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea name="row[remark]" class="form-control" data-rule="" rows="5" data-tip=""
                      placeholder="请输入备注说明"></textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
<style>
    .card {
        border: 1px solid #e8e8e8;
        padding: 10px;
        margin-bottom: 20px;
    }
</style>
